package com.ambitious.config;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.sun.javafx.collections.MappingChange;
import org.apache.http.impl.client.BasicCookieStore;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.Scope;

import java.text.SimpleDateFormat;
import java.util.*;

/**
 * @author Ambitious
 */
@Configuration
public class ClientConfig {

    @Bean
    public Map<String, BasicCookieStore> cookieStoreMap() {
        return new HashMap<>(16);
    }

    @Bean
    public Map<String, CloseableHttpClient> clientMap() {
        return new HashMap<>(16);
    }

}
